<?php
$id=$_GET["id"];
$ly=$_GET["ly"];
$ip=$_SERVER["REMOTE_ADDR"];
$sz="where id='1'";
$shezhi=queryall(se2wz,$sz);
$sk=$shezhi[sk];
$youke=$shezhi[youke];
$pthy=$shezhi[pthy];
$viphy=$shezhi[viphy];
$iseveryday=$shezhi[iseveryday];
$tdate3=date("Y-m-d")." 00:00:01";
$tdate4=date("Y-m-d")." 23:59:59";
$settr3=strtotime($tdate3);
$settr4=strtotime($tdate4);
$apache=$shezhi[apache];
$pull=$shezhi[pull];
if ($id){
if ($iseveryday==2)
{
header('Location: ?playid='.$id.'&ly='.$ly);
exit;  
}else {

}
}



?>